package com.xidian.yunwudemo.mapper.master;

import com.xidian.yunwudemo.dto.ServerInfoDto;
import com.xidian.yunwudemo.entities.ServerInfo;
import org.apache.ibatis.annotations.Mapper;


public interface ServerInfoMapper {
    int deleteByPrimaryKey(String name);

    int insert(ServerInfo record);

    int insertSelective(ServerInfo record);

    ServerInfoDto selectByPrimaryKey(String name);

    int updateByPrimaryKeySelective(ServerInfo record);

    int updateByPrimaryKey(ServerInfo record);

    ServerInfoDto getServerInfoByName(String name);
}